//
//  CustomImagePicker.h
//  CustomImagePicker
//
//  Created by Ray Wenderlich on 1/27/10.
//  Copyright 2010 Ray Wenderlich. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomImagePicker : UIViewController {
	NSMutableArray * m_ImgPicView;
	NSMutableArray *_thumbs;
	int m_nCurPage;
	IBOutlet UISegmentedControl* m_pageControl;
	UIActivityIndicatorView* m_spinner;
	int m_nColumnCount;
	int m_nScreenWidth;
	UIScrollView* m_Scrollview;
}

@property (nonatomic, retain) NSMutableArray *images;
@property (nonatomic, retain) NSMutableArray *thumbs;
@property(nonatomic, retain) IBOutlet UISegmentedControl* pageControl;


- (IBAction)buttonClicked:(id)sender;
- (IBAction)refrashData:(id)sender;
- (void)addImage:(UIImage *)image;
-(void) pageChangeClick;
-(void) refrashUIControl;

@end
